package com.baseLesson.reflect.mapperDemo;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;

public class Test {

    public static void main(String[] args) throws Exception {
        Class<MyMapper> myMapperClass = MyMapper.class;

        MyMapper myMapper = myMapperClass.newInstance();

        myMapper.map(new LongWritable(1), new Text("value"));
    }

}
